package com.caishi.lkx.user.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caishi.lkx.user.ienum.type.ShowLevel;
import com.zzw.common.entity.impl.BaseEntity;
import com.zzw.common.service.model.NameModel;
import lombok.*;

import java.util.List;

/**
 * @author by keray
 * date:2021/4/7 10:49 上午
 */

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("cu_action_role")
public class ActionRoleModel extends BaseEntity<ActionRoleModel> implements NameModel<ActionRoleModel, String> {
    private String name;
    private String remark;

    @TableField(exist = false)
    private boolean system = false;

    @TableField(exist = false)
    private Integer actionCount;

    @TableField(exist = false)
    private List<String> actionCodes;


    /*显示级别*/
    private ShowLevel showLevel;

}
